function change(tg) {
				if($("#" + tg).next().css("display") == "none") {
					$("#" + tg).children(".arrow").css("background", "url(../img/up.png)no-repeat");
				} else {
					$("#" + tg).children(".arrow").css("background", "url(../img/down.png)no-repeat");
				}
				$("#" + tg).next().slideToggle(700);
			}

document.querySelector("#sw-content_bottom").addEventListener("click", function(e) {
				var e = e || window.event;
				var _id;
				if(e.target.tagName == "A") {
					_id = e.target.parentNode.id;
				} else {
					_id = e.target.id;
				}
				change(_id);
			}, true);
//var divarr = document.querySelectorAll("#sw-content_bottom>div")
//console.log(divarr)
//for(var i =0;i<divarr.length;i++ ){
//	divarr[i].onclick = function(ev){
//		var ev = ev || window.event;
//		ev.target.style.height = this.children[0].offsetHeight + 45 +"px"
//	}
//}
